<!DOCTYPE html>
<head>
    <title>{$site_seo_title} {$site_name}</title>
    {include file="public:head" /}
    <meta name="description" content="{$site_seo_description}">
</head>
<body>
<div class="about_header">
    <div class="container">
        <!---start-top-nav---->
        <div class="top-nav">
            <div class="top-header">
                <div class="logo">
                    <a href="index.html"><img src="{$wjf_theme_path}public/images/logo.png" alt=""/></a>
                </div>
            </div>
            {include file="public:nav" /}
            <script type="text/javascript">
                $(document).ready(function() {

                    $('#menu-toggle').click(function () {
                        $('#menu').toggleClass('open');
                        e.preventDefault();
                    });

                });
            </script>
        </div>
        <!---End-top-nav---->
    </div>
</div>
<div class="profile-info">
    <div class="container">
        <div class="about_grid1">
            <div class="col-md-8 box">
                <h1 class="m_4">
                    {$info.news_title}
                </h1>
                <p class="m_5" style="margin-bottom: 3%;">
                    <span>时间: {$info.news_time|date="Y-m-d H:i:s",###}</span>&nbsp;&nbsp;
                    <span>作者: {$info->user->member_list_nickname}</span>&nbsp;&nbsp;
                    <span><i class="fa fa-eye">&nbsp;</i>{$info.news_hits}</span>
                </p>
                <div class="container">
                    <div class="news-content">
                        {$info.news_content}
                    </div>
                    {if condition="!empty($info.news_source)"}
                    <hr/>
                    <div class="post-content">
                        <b>{:lang('news copyright',[$info.news_source])}</b>
                    </div>
                    {/if}
                    <script type="text/javascript" src="__PUBLIC__/js/qrcode.min.js"></script>
                    <div id="qrcode" style="width: 100px;margin:0 auto"></div>
                    <script type="text/javascript">
                        var qrcode = new QRCode(document.getElementById("qrcode"), {
                            width : 100,
                            height : 100
                        });
                        function makeCode () {
                            qrcode.makeCode("http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}");
                        }
                        makeCode();
                    </script>
                    <div class="qrcode-annotation clearfix">文章二维码,扫码查看</div>
                </div>
            </div>
            {include file="public:rightslider" /}
        </div>
    </div>
</div>
{include file="public:footer" /}
{include file="public:scripts" /}
</body>
</html>